package com.xuecheng.content.api;

import com.xuecheng.base.model.PageParams;
import com.xuecheng.base.model.PageResult;
import com.xuecheng.content.model.dto.QueryCourseParamsDto;
import com.xuecheng.content.model.po.CourseBase;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping()
@Slf4j
@Api(value = "课程信息管理接口",tags = "课程信息管理接口")
public class CourseBaseInfoController {


    @PostMapping("course/list")
    @ApiOperation("课程查询")
    public PageResult<CourseBase> list(PageParams pageParams, @RequestBody(required = false)  QueryCourseParamsDto queryCourseParamsDto){
        return null;
    }

}
